#! /usr/bin/env bash

set -euo pipefail


export PATH=$PWD/output/bin:$PWD:$PATH

shark compile -I. --no-standard-import --src-prefix=. -ocpp:. \
    shark/c++.sk \
    shark/schema.sk \
    shark/stream.sk \
    shark/compiler/lexer.sk \
    shark/compiler/grammar.sk \
    shark/rpc.sk \
    shark/rpc-twoparty.sk \
    shark/persistent.sk \
    shark/compat/json.sk \
    shark/compat/json-rpc.sk
